package com.example.hospital.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class RegisterRequest {
    @NotBlank
    private String username;
    @NotBlank
    private String password;
    @NotBlank
    private String name;
    @NotBlank
    private String gender; // 男/女
    @NotNull
    private Integer age;
    @NotBlank
    private String phone;
    @NotBlank
    private String idCard;
}